package Operation;

import Book.Book;
import Book.BookList;

public class Show implements IOperation{
    @Override
    public void work(BookList bookList) {
        System.out.println("展示图书！");
        int ret = bookList.getUsedSize();
        for(int i = 0; i < ret; i++){
            Book book = bookList.getBook(i);
            System.out.println(book);
        }
    }
}
